Micron Document
🎖️GitЯра🎖️

Node / meshtastic / Meshtastic-Android / files / .github / instructions / android-source-set.instructions.md

Displaying Rendered • View rawDownload

.github/instructions/android-source-set.instructions.md d5d50a9d4b3842863d540e2e8b5c38411e8d10f8 (d5d50a9d) Text, 552 B

applyTo: "/androidMain//*.kt"

Android Source-Set Rules

• This is T383838androidMain — Android framework imports (T383838android.*, T383838java.*) are allowed here.
• Do NOT put business logic here. Business logic belongs in T383838commonMain.
• If you find identical pure-Kotlin logic in both T383838androidMain and T383838jvmMain, extract it to T383838commonMain.
• Use T383838expect/T383838actual only for small platform primitives. Prefer interfaces + DI.
• Keep T383838expect declarations in T383838FileIo.kt and shared helpers in T383838FileIoUtils.kt to avoid JVM duplicate class errors.

Served by rngit 1.5.2 - Generated in 0.04s